package com.ftl.gateway.api.v2.controller;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : wangweifeng
 * @date : Created in 2022/7/20 9:38
 */
@RestController
@RequestMapping("/api")
public class HealthCheckController {

    @GetMapping("/health")
    @ResponseStatus(value = HttpStatus.OK)
    public String hello(){
        return "打工人已上线！";
    }
}
